package com.geovis.emergency.spd.entity.system.pojo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;
import org.hibernate.validator.constraints.Length;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 部门查询DTO
 * </p>
 *
 * @author 王响
 * @since 2021-11-09
 */

@Getter
@Setter
@ToString(callSuper = true)
@Accessors(chain = true)
@ApiModel(value = "SystemDeptQueryDTO", description = "部门查询DTO")
public class SystemDeptQueryDTO implements Serializable {

    @Length(max = 64, message = "部门名称最长不能超过{64}个字符")
    private String deptName;

    @Length(max = 128, message = "部门全称最长不能超过{128}个字符")
    private String fullName;

    @Length(max = 128, message = "备注最长不能超过{128}个字符")
    private String remark;

    private List<String> deptRoot;
}
